export const account_rules = {
  name: [
    {
      required: true,
      message: '账号是必填的',
      trigger: 'blur'
    },
    {
      pattern: /^[a-z0-9]{2,9}$/,
      message: '账号必须在2-9位之间的数字或者字母',
      trigger: 'blur'
    }
  ],
  password: [
    {
      required: true,
      message: '密码是必填的',
      trigger: 'blur'
    },
    {
      pattern: /^[a-z0-9]{5,9}$/,
      message: '密码必须在5-9位之间的数字或者字母',
      trigger: 'blur'
    }
  ]
};
